package entityattributenameisunique;

import entityattributenameisunique.EntityAttributeNameIsUniqueMatch;
import entityattributenameisunique.EntityAttributeNameIsUniqueMatcher;
import org.eclipse.viatra2.emf.incquery.runtime.api.IncQueryEngine;
import org.eclipse.viatra2.emf.incquery.runtime.api.impl.BaseGeneratedMatcherFactory;
import org.eclipse.viatra2.emf.incquery.runtime.exception.IncQueryRuntimeException;

/**
 * A pattern-specific matcher factory that can instantiate EntityAttributeNameIsUniqueMatcher in a type-safe way.
 * 
 * @see EntityAttributeNameIsUniqueMatcher
 * @see EntityAttributeNameIsUniqueMatch
 * 
 */
public class EntityAttributeNameIsUniqueMatcherFactory extends BaseGeneratedMatcherFactory<EntityAttributeNameIsUniqueMatch,EntityAttributeNameIsUniqueMatcher> {
  @Override
  protected EntityAttributeNameIsUniqueMatcher instantiate(final IncQueryEngine engine) throws IncQueryRuntimeException {
    return new EntityAttributeNameIsUniqueMatcher(engine);
    
  }
  
  @Override
  protected String getBundleName() {
    return "hu.bme.mit.inf.omgi.queries";
    
  }
  
  @Override
  protected String patternName() {
    return "EntityAttributeNameIsUnique";
    
  }
}
